package m1.server.config.component.componentInterface;

import m2.component.ComponentInterface;
import m2.service.RequiredService;

public class SecurityManagerInterfaceRequired extends ComponentInterface{

	/**
	 * 
	 */
	public SecurityManagerInterfaceRequired(){
		
		//********credentialQuerySendService********
		RequiredService credentialQuerySendService = new RequiredService();
		credentialQuerySendService.setNameService("credentialQuerySendService");
		setService(credentialQuerySendService);		
		
		//********securityAuthorizationService********
		RequiredService securityAuthorizationService = new RequiredService();
		securityAuthorizationService.setNameService("securityAuthorizationService");
		setService(securityAuthorizationService);		
		
	}

	@Override
	/**
	 * 
	 */
	public void buildService() {
		serviceUsePorts("credentialQuerySendService", "CredentialQuerySend");
		serviceUsePorts("securityAuthorizationService", "SecurityAuthorization");
	}
}
